package com.smcdd.cdb.dbo.cdb_dbo.service.entity;

import java.util.List;

/**
 * 作者：Administrator on 2017/6/27 16:55
 * 邮箱：zhanghuaiha@gmail.com
 * 所属设备
 */

public class Charging {

    /**
     * total : 10
     * code : 200
     * data : [{"id":"594","uid":"20","store_info_id":"129","alias":"5CCF7FB17E57","charging_to_user":"1","charging_to_self":"1","charging_port_num_total":"1","charging_port_num":"1","dump_energy":"011","remark":null,"latitude":"30.58","longitude":"114.28","created":"2017-06-20 21:56:14","on_line":"0","join_net":"1","green_light_status":"1","online_time":"2017-06-20 20:51:02","offline_time":"2017-06-20 21:56:15","total_charging_count":"23","total_online_count":"14","offline_message_status":"0","firmware_version":null,"use_status":"1","link_from":"1","name":null}]
     */

    private String total;
    private int code;
    private List<DataBean> data;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 594
         * uid : 20
         * store_info_id : 129
         * alias : 5CCF7FB17E57
         * charging_to_user : 1
         * charging_to_self : 1
         * charging_port_num_total : 1
         * charging_port_num : 1
         * dump_energy : 011
         * remark : null
         * latitude : 30.58
         * longitude : 114.28
         * created : 2017-06-20 21:56:14
         * on_line : 0
         * join_net : 1
         * green_light_status : 1
         * online_time : 2017-06-20 20:51:02
         * offline_time : 2017-06-20 21:56:15
         * total_charging_count : 23
         * total_online_count : 14
         * offline_message_status : 0
         * firmware_version : null
         * use_status : 1
         * link_from : 1
         * name : null
         * sub_count
         * pwd_type
         * "device_type":1, //1 WiFi设备 4密码设备
         "last_use_time":xxx, //最后使用时间
         today_use_num//充电次数
         */
        private int paper_online;

        public int getPaper_online() {
            return paper_online;
        }

        public void setPaper_online(int paper_online) {
            this.paper_online = paper_online;
        }

        public int getPaper_offline() {
            return paper_offline;
        }

        public void setPaper_offline(int paper_offline) {
            this.paper_offline = paper_offline;
        }

        private int paper_offline;
        private String id;
        private String uid;
        private String store_info_id;
        private String alias;
        private String charging_to_user;
        private String charging_to_self;
        private String charging_port_num_total;
        private String charging_port_num;
        private String dump_energy;
        private Object remark;
        private String latitude;
        private String longitude;
        private String created;
        private String on_line;
        private String join_net;
        private String green_light_status;
        private String online_time;
        private String offline_time;
        private String total_charging_count;
        private String total_online_count;
        private String offline_message_status;
        private Object firmware_version;
        private String use_status;
        private String link_from;
        private String last_use_time;

        public String getPwd_type() {
            return pwd_type;
        }

        public void setPwd_type(String pwd_type) {
            this.pwd_type = pwd_type;
        }

        private String pwd_type;

        public String getSub_count() {
            return sub_count;
        }

        public void setSub_count(String sub_count) {
            this.sub_count = sub_count;
        }

        private String sub_count;

        public String getToday_use_num() {
            return today_use_num;
        }

        public void setToday_use_num(String today_use_num) {
            this.today_use_num = today_use_num;
        }

        private String today_use_num;
        private int device_type;

        public String getLast_use_time() {
            return last_use_time;
        }

        public void setLast_use_time(String last_use_time) {
            this.last_use_time = last_use_time;
        }

        public int getDevice_type() {
            return device_type;
        }

        public void setDevice_type(int device_type) {
            this.device_type = device_type;
        }

        private Object name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getStore_info_id() {
            return store_info_id;
        }

        public void setStore_info_id(String store_info_id) {
            this.store_info_id = store_info_id;
        }

        public String getAlias() {
            return alias;
        }

        public void setAlias(String alias) {
            this.alias = alias;
        }

        public String getCharging_to_user() {
            return charging_to_user;
        }

        public void setCharging_to_user(String charging_to_user) {
            this.charging_to_user = charging_to_user;
        }

        public String getCharging_to_self() {
            return charging_to_self;
        }

        public void setCharging_to_self(String charging_to_self) {
            this.charging_to_self = charging_to_self;
        }

        public String getCharging_port_num_total() {
            return charging_port_num_total;
        }

        public void setCharging_port_num_total(String charging_port_num_total) {
            this.charging_port_num_total = charging_port_num_total;
        }

        public String getCharging_port_num() {
            return charging_port_num;
        }

        public void setCharging_port_num(String charging_port_num) {
            this.charging_port_num = charging_port_num;
        }

        public String getDump_energy() {
            return dump_energy;
        }

        public void setDump_energy(String dump_energy) {
            this.dump_energy = dump_energy;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getOn_line() {
            return on_line;
        }

        public void setOn_line(String on_line) {
            this.on_line = on_line;
        }

        public String getJoin_net() {
            return join_net;
        }

        public void setJoin_net(String join_net) {
            this.join_net = join_net;
        }

        public String getGreen_light_status() {
            return green_light_status;
        }

        public void setGreen_light_status(String green_light_status) {
            this.green_light_status = green_light_status;
        }

        public String getOnline_time() {
            return online_time;
        }

        public void setOnline_time(String online_time) {
            this.online_time = online_time;
        }

        public String getOffline_time() {
            return offline_time;
        }

        public void setOffline_time(String offline_time) {
            this.offline_time = offline_time;
        }

        public String getTotal_charging_count() {
            return total_charging_count;
        }

        public void setTotal_charging_count(String total_charging_count) {
            this.total_charging_count = total_charging_count;
        }

        public String getTotal_online_count() {
            return total_online_count;
        }

        public void setTotal_online_count(String total_online_count) {
            this.total_online_count = total_online_count;
        }

        public String getOffline_message_status() {
            return offline_message_status;
        }

        public void setOffline_message_status(String offline_message_status) {
            this.offline_message_status = offline_message_status;
        }

        public Object getFirmware_version() {
            return firmware_version;
        }

        public void setFirmware_version(Object firmware_version) {
            this.firmware_version = firmware_version;
        }

        public String getUse_status() {
            return use_status;
        }

        public void setUse_status(String use_status) {
            this.use_status = use_status;
        }

        public String getLink_from() {
            return link_from;
        }

        public void setLink_from(String link_from) {
            this.link_from = link_from;
        }

        public Object getName() {
            return name;
        }

        public void setName(Object name) {
            this.name = name;
        }
    }
}
